//
//  XMChatView.h
//  XMJJ_zml
//
//  Created by 丁浩 on 2025/7/1.
//

#import "XMBaseView.h"

NS_ASSUME_NONNULL_BEGIN

@protocol XMChatViewDelegate <NSObject>

- (void)messageSendWithContent:(NSString *)contentStr;  //发送消息
- (void)voiceMsgSendWithPath:(NSString *)path;   //发送语音
- (void)imgMsgSendWithPath:(NSString *)path;   //发送图片

- (void)getGiveMeetWithMeetInfo:(NSDictionary *)meetDic;  //领取转赠 转卖见面

@end

@interface XMChatView : XMBaseView

@property (nonatomic, weak) id<XMChatViewDelegate>delegate;

- (void)sendSucessWithMsgArr:(NSArray *)msgArr;

- (void)setContentWithReceiverName:(NSString *)nickName
                      senderAvatar:(NSString *)senderAvatarImg
                    receiverAvatar:(NSString *)receiverImg;

- (void)setContentWithMessageArr:(NSArray *)msgArr;

@end

NS_ASSUME_NONNULL_END
